﻿<Window x:Class="Probel.Ldoc.Shell.Views.AboutView"
        x:Name="this"
        
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:t="clr-namespace:Probel.Ldoc.Shell.Properties"
        Title="{x:Static t:Messages.Title_About}"
        
        mc:Ignorable="d" 
        SizeToContent="WidthAndHeight" Height="213" Width="452" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow">


    <DockPanel LastChildFill="true">

        <Border DockPanel.Dock="Bottom" Margin="0,30,0,0" BorderThickness="0,0.5,0,0" BorderBrush="{DynamicResource ResourceKey={x:Static SystemColors.ActiveBorderBrushKey}}" Background="{DynamicResource ResourceKey={x:Static SystemColors.ControlBrushKey}}">
            <Button Content="OK" Padding="20,0,20,0" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="10,10,15,10" IsDefault="True" IsCancel="True" Click="Button_Click" />
        </Border>

        <Image Style="{x:Null}" Margin="15,20,0,-30" DockPanel.Dock="Left" Stretch="Fill" VerticalAlignment="Top" Source="/Probel.Ldoc.Shell;component/Images/Splash.png" Height="106" Width="100" />

        <StackPanel Orientation="Vertical" Grid.Column="1" Margin="15,20,15,0">
            <TextBlock x:Name="ProductTitle" FontWeight="Bold" />

            <TextBlock Text="{x:Static t:Messages.Lbl_ApplicationDescription}" Margin="0,5,0,0" />

            <TextBlock Margin="0,5,0,0">
				<Hyperlink NavigateUri="https://ldoc.codeplex.com/" Click="Hyperlink_Click">
					<Run Text="https://ldoc.codeplex.com/" />
				</Hyperlink>
            </TextBlock>

            <TextBlock Margin="0,5,0,0">
				<Run Text="{x:Static t:Messages.Lbl_Author}"/>
                <Run Text="Jean-Baptiste Wautier"/>
            </TextBlock>
        </StackPanel>
    </DockPanel>
</Window>
